*{
    margin: 0;
    padding: 0;
}
body{
    padding: 20px;
}
.box{
    display: flex;
    flex-wrap: wrap;
    .item{
        border: 1px solid red;
        width: 190px;
        height: 266px;
        box-sizing: border-box;
        padding: 10px;
        padding-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 5px 5px 0;
        >div{
            margin-bottom: 10px;
        }
        .img{
            width: 120px;
            height: 120px;
            img{
                width: 100%;
                display: block;
            }
        }
        .text{
            width: 170px;
            height: 40px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }
        .footer{
            height: 30px;
            width: 100%;
            display: flex;
            justify-content: space-between;
            .icon{
                cursor: pointer;
            }
        }
    }
}